<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class WxNavigation extends Model
{
	use HasDateTimeFormatter;
//    use SoftDeletes;

    protected $table = 'wx_navigation';

    public function plate()
    {
        return $this->hasOne(WxNavigationPlate::class, "id", "np_id");
    }
}
